import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import { createPinia } from 'pinia'
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate'

import './app.less'
import 'vant/lib/index.css';
import VueI18n from '@/locales/index'

// Vant 桌面端适配
import '@vant/touch-emulator'
// import MyUI from '/src/components/index'

const app = createApp(App)
const pinia = createPinia()
pinia.use(piniaPluginPersistedstate)


app
  .use(router)
  .use(pinia)
  .use(VueI18n) 

app.mount('#app')
